﻿using Aliphant.Mvvm.XEvent.Interface;
using System.Windows;

namespace Aliphant.Mvvm.XEvent
{
    /// <summary>
    /// 事件应用基类，已弃用
    /// </summary>
    public abstract class XEventApplication : Application
    {
        public XEventApplication()
        {
            XEventAgent eventAgent = XEventAgent.Instance;
            RegisterTypes(eventAgent.ControlManager);
        }

        public abstract void RegisterTypes(IControlManager controlManager);
    }
}
